from rs_trasformer import *

name='28.npy'# md随便选了几张结果连分割图都没有，倒霉
x1=r'data\image'
x2=r'data\edge'
x3=r'data\mask'
input=os.path.join(x1,name)#4波段数据
edge=os.path.join(x2,name) #边缘线分割图
mask=os.path.join(x3,name) #地块分割图

transformers=Compose([
    NDVI(r_band=3, nir_band=4),
    NDWI(g_band=2, nir_band=4),
     ] #填充的颜色
)

x=transformers(input,edge,mask)
